package com.aaa.security;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class T {
    public static void main(String[] args) {
        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder();
        String i=encoder.encode("l123456");
        System.out.println(i);
//      boolean b=  encoder.matches("123","$2a$10$ttaack0fsZO7D2DflNcIh.yJG/KCtANgNKkIrueyX0vmYSDrj4x7O");
//        System.out.println(b);
    }
}
